﻿using System;
using System.Linq;
using System.Windows.Forms;
using UtfprLibrary.Windows.Forms;

namespace  $rootnamespace$ {
    public sealed partial class $safeitemrootname$ : UtfprFormLoginBase {
        public $safeitemrootname$() {
            InitializeComponent();
        }

        #region EventHandlers

        private void btnOk_Click(object sender, EventArgs e) {
            base.Login(this.txtUser, this.txtPassword);
        }

        private void btnCancel_Click(object sender, EventArgs e) {
            base.Logoff();
        }

        #endregion

        protected override IUtfprUser FindUser(string username, string password) {
            throw new NotImplementedException();
        }
    }
}